package com.example.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.springboot.entity.XContract;
import com.example.springboot.entity.XRefund;
import com.example.springboot.mapper.XContractMapper;
import com.example.springboot.service.IXContractService;
import com.example.springboot.service.IXModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 
 */
@Service
public class XContractServiceImpl extends ServiceImpl<XContractMapper, XContract> implements IXContractService {

    @Autowired
    private XContractMapper xContractMapper;

    @Override
    public List<XRefund> getRefund(XContract xContract) {
       return xContractMapper.getRefund(xContract);
    }
}
//
//public class XContractServiceImpl extends ServiceImpl<XContractMapper, XContract> implements IXContractService{
//
//}
